package com.fs.activiti5.extend;

import org.activiti.spring.SpringProcessEngineConfiguration;
import org.activiti.spring.boot.ProcessEngineConfigurationConfigurer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ActivitiConfiguration implements ProcessEngineConfigurationConfigurer{
	@Autowired ActivityBehaviorFactoryExt activityBehaviorFactoryExt;
	
	@Override
	public void configure(SpringProcessEngineConfiguration configuration) {
		configuration.setActivityBehaviorFactory(activityBehaviorFactoryExt);
	}
	
}
